package com.luck.emp.sale.logic;

import java.util.List;

import com.luck.emp.entity.EmpTSlOrderD;
import com.luck.emp.entity.EmpTSlOrderM;
import com.luck.emp.sale.qry.SaleQry;
import com.luck.pf.common.entity.UserBean;
import com.luck.pf.framework.logic.IBaseLogic;
import com.luck.pf.util.Page;

/**
 * 说明 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public interface ISaleLogic extends IBaseLogic {
	/**
	 * 保存
	 **/
	public String saveSale(UserBean userBean, EmpTSlOrderM entity,String[] productCodes, String[] priceReals, String[] qtys) throws Exception;

	/**
	 * 撤销
	 */
	public String saveCancelSale(UserBean userBean, EmpTSlOrderM entity)  throws Exception;
	/**
	 * 退货 
	 */
	public String saveThSale(UserBean userBean, SaleQry qry,String[] productCodes, String[] priceReals, String[] qtys)  throws Exception;

	/**
	 * 查找分页信息
	 */
	public Page findSalePage(SaleQry qry);
	public List<EmpTSlOrderD> findSaleds(String slCode);
}